package com.njust.dataobject;

import java.util.ArrayList;
import java.util.List;

public class TrainParamExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TrainParamExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGapWarnIsNull() {
            addCriterion("gap_warn is null");
            return (Criteria) this;
        }

        public Criteria andGapWarnIsNotNull() {
            addCriterion("gap_warn is not null");
            return (Criteria) this;
        }

        public Criteria andGapWarnEqualTo(Double value) {
            addCriterion("gap_warn =", value, "gapWarn");
            return (Criteria) this;
        }

        public Criteria andGapWarnNotEqualTo(Double value) {
            addCriterion("gap_warn <>", value, "gapWarn");
            return (Criteria) this;
        }

        public Criteria andGapWarnGreaterThan(Double value) {
            addCriterion("gap_warn >", value, "gapWarn");
            return (Criteria) this;
        }

        public Criteria andGapWarnGreaterThanOrEqualTo(Double value) {
            addCriterion("gap_warn >=", value, "gapWarn");
            return (Criteria) this;
        }

        public Criteria andGapWarnLessThan(Double value) {
            addCriterion("gap_warn <", value, "gapWarn");
            return (Criteria) this;
        }

        public Criteria andGapWarnLessThanOrEqualTo(Double value) {
            addCriterion("gap_warn <=", value, "gapWarn");
            return (Criteria) this;
        }

        public Criteria andGapWarnIn(List<Double> values) {
            addCriterion("gap_warn in", values, "gapWarn");
            return (Criteria) this;
        }

        public Criteria andGapWarnNotIn(List<Double> values) {
            addCriterion("gap_warn not in", values, "gapWarn");
            return (Criteria) this;
        }

        public Criteria andGapWarnBetween(Double value1, Double value2) {
            addCriterion("gap_warn between", value1, value2, "gapWarn");
            return (Criteria) this;
        }

        public Criteria andGapWarnNotBetween(Double value1, Double value2) {
            addCriterion("gap_warn not between", value1, value2, "gapWarn");
            return (Criteria) this;
        }

        public Criteria andGapAlarmIsNull() {
            addCriterion("gap_alarm is null");
            return (Criteria) this;
        }

        public Criteria andGapAlarmIsNotNull() {
            addCriterion("gap_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andGapAlarmEqualTo(Double value) {
            addCriterion("gap_alarm =", value, "gapAlarm");
            return (Criteria) this;
        }

        public Criteria andGapAlarmNotEqualTo(Double value) {
            addCriterion("gap_alarm <>", value, "gapAlarm");
            return (Criteria) this;
        }

        public Criteria andGapAlarmGreaterThan(Double value) {
            addCriterion("gap_alarm >", value, "gapAlarm");
            return (Criteria) this;
        }

        public Criteria andGapAlarmGreaterThanOrEqualTo(Double value) {
            addCriterion("gap_alarm >=", value, "gapAlarm");
            return (Criteria) this;
        }

        public Criteria andGapAlarmLessThan(Double value) {
            addCriterion("gap_alarm <", value, "gapAlarm");
            return (Criteria) this;
        }

        public Criteria andGapAlarmLessThanOrEqualTo(Double value) {
            addCriterion("gap_alarm <=", value, "gapAlarm");
            return (Criteria) this;
        }

        public Criteria andGapAlarmIn(List<Double> values) {
            addCriterion("gap_alarm in", values, "gapAlarm");
            return (Criteria) this;
        }

        public Criteria andGapAlarmNotIn(List<Double> values) {
            addCriterion("gap_alarm not in", values, "gapAlarm");
            return (Criteria) this;
        }

        public Criteria andGapAlarmBetween(Double value1, Double value2) {
            addCriterion("gap_alarm between", value1, value2, "gapAlarm");
            return (Criteria) this;
        }

        public Criteria andGapAlarmNotBetween(Double value1, Double value2) {
            addCriterion("gap_alarm not between", value1, value2, "gapAlarm");
            return (Criteria) this;
        }

        public Criteria andTempWarnIsNull() {
            addCriterion("temp_warn is null");
            return (Criteria) this;
        }

        public Criteria andTempWarnIsNotNull() {
            addCriterion("temp_warn is not null");
            return (Criteria) this;
        }

        public Criteria andTempWarnEqualTo(Double value) {
            addCriterion("temp_warn =", value, "tempWarn");
            return (Criteria) this;
        }

        public Criteria andTempWarnNotEqualTo(Double value) {
            addCriterion("temp_warn <>", value, "tempWarn");
            return (Criteria) this;
        }

        public Criteria andTempWarnGreaterThan(Double value) {
            addCriterion("temp_warn >", value, "tempWarn");
            return (Criteria) this;
        }

        public Criteria andTempWarnGreaterThanOrEqualTo(Double value) {
            addCriterion("temp_warn >=", value, "tempWarn");
            return (Criteria) this;
        }

        public Criteria andTempWarnLessThan(Double value) {
            addCriterion("temp_warn <", value, "tempWarn");
            return (Criteria) this;
        }

        public Criteria andTempWarnLessThanOrEqualTo(Double value) {
            addCriterion("temp_warn <=", value, "tempWarn");
            return (Criteria) this;
        }

        public Criteria andTempWarnIn(List<Double> values) {
            addCriterion("temp_warn in", values, "tempWarn");
            return (Criteria) this;
        }

        public Criteria andTempWarnNotIn(List<Double> values) {
            addCriterion("temp_warn not in", values, "tempWarn");
            return (Criteria) this;
        }

        public Criteria andTempWarnBetween(Double value1, Double value2) {
            addCriterion("temp_warn between", value1, value2, "tempWarn");
            return (Criteria) this;
        }

        public Criteria andTempWarnNotBetween(Double value1, Double value2) {
            addCriterion("temp_warn not between", value1, value2, "tempWarn");
            return (Criteria) this;
        }

        public Criteria andTempAlarmIsNull() {
            addCriterion("temp_alarm is null");
            return (Criteria) this;
        }

        public Criteria andTempAlarmIsNotNull() {
            addCriterion("temp_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andTempAlarmEqualTo(Double value) {
            addCriterion("temp_alarm =", value, "tempAlarm");
            return (Criteria) this;
        }

        public Criteria andTempAlarmNotEqualTo(Double value) {
            addCriterion("temp_alarm <>", value, "tempAlarm");
            return (Criteria) this;
        }

        public Criteria andTempAlarmGreaterThan(Double value) {
            addCriterion("temp_alarm >", value, "tempAlarm");
            return (Criteria) this;
        }

        public Criteria andTempAlarmGreaterThanOrEqualTo(Double value) {
            addCriterion("temp_alarm >=", value, "tempAlarm");
            return (Criteria) this;
        }

        public Criteria andTempAlarmLessThan(Double value) {
            addCriterion("temp_alarm <", value, "tempAlarm");
            return (Criteria) this;
        }

        public Criteria andTempAlarmLessThanOrEqualTo(Double value) {
            addCriterion("temp_alarm <=", value, "tempAlarm");
            return (Criteria) this;
        }

        public Criteria andTempAlarmIn(List<Double> values) {
            addCriterion("temp_alarm in", values, "tempAlarm");
            return (Criteria) this;
        }

        public Criteria andTempAlarmNotIn(List<Double> values) {
            addCriterion("temp_alarm not in", values, "tempAlarm");
            return (Criteria) this;
        }

        public Criteria andTempAlarmBetween(Double value1, Double value2) {
            addCriterion("temp_alarm between", value1, value2, "tempAlarm");
            return (Criteria) this;
        }

        public Criteria andTempAlarmNotBetween(Double value1, Double value2) {
            addCriterion("temp_alarm not between", value1, value2, "tempAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotAlarmIsNull() {
            addCriterion("slot_alarm is null");
            return (Criteria) this;
        }

        public Criteria andSlotAlarmIsNotNull() {
            addCriterion("slot_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andSlotAlarmEqualTo(Double value) {
            addCriterion("slot_alarm =", value, "slotAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotAlarmNotEqualTo(Double value) {
            addCriterion("slot_alarm <>", value, "slotAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotAlarmGreaterThan(Double value) {
            addCriterion("slot_alarm >", value, "slotAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotAlarmGreaterThanOrEqualTo(Double value) {
            addCriterion("slot_alarm >=", value, "slotAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotAlarmLessThan(Double value) {
            addCriterion("slot_alarm <", value, "slotAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotAlarmLessThanOrEqualTo(Double value) {
            addCriterion("slot_alarm <=", value, "slotAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotAlarmIn(List<Double> values) {
            addCriterion("slot_alarm in", values, "slotAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotAlarmNotIn(List<Double> values) {
            addCriterion("slot_alarm not in", values, "slotAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotAlarmBetween(Double value1, Double value2) {
            addCriterion("slot_alarm between", value1, value2, "slotAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotAlarmNotBetween(Double value1, Double value2) {
            addCriterion("slot_alarm not between", value1, value2, "slotAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotWarnIsNull() {
            addCriterion("slot_warn is null");
            return (Criteria) this;
        }

        public Criteria andSlotWarnIsNotNull() {
            addCriterion("slot_warn is not null");
            return (Criteria) this;
        }

        public Criteria andSlotWarnEqualTo(Double value) {
            addCriterion("slot_warn =", value, "slotWarn");
            return (Criteria) this;
        }

        public Criteria andSlotWarnNotEqualTo(Double value) {
            addCriterion("slot_warn <>", value, "slotWarn");
            return (Criteria) this;
        }

        public Criteria andSlotWarnGreaterThan(Double value) {
            addCriterion("slot_warn >", value, "slotWarn");
            return (Criteria) this;
        }

        public Criteria andSlotWarnGreaterThanOrEqualTo(Double value) {
            addCriterion("slot_warn >=", value, "slotWarn");
            return (Criteria) this;
        }

        public Criteria andSlotWarnLessThan(Double value) {
            addCriterion("slot_warn <", value, "slotWarn");
            return (Criteria) this;
        }

        public Criteria andSlotWarnLessThanOrEqualTo(Double value) {
            addCriterion("slot_warn <=", value, "slotWarn");
            return (Criteria) this;
        }

        public Criteria andSlotWarnIn(List<Double> values) {
            addCriterion("slot_warn in", values, "slotWarn");
            return (Criteria) this;
        }

        public Criteria andSlotWarnNotIn(List<Double> values) {
            addCriterion("slot_warn not in", values, "slotWarn");
            return (Criteria) this;
        }

        public Criteria andSlotWarnBetween(Double value1, Double value2) {
            addCriterion("slot_warn between", value1, value2, "slotWarn");
            return (Criteria) this;
        }

        public Criteria andSlotWarnNotBetween(Double value1, Double value2) {
            addCriterion("slot_warn not between", value1, value2, "slotWarn");
            return (Criteria) this;
        }

        public Criteria andSlotdWarnIsNull() {
            addCriterion("slotd_warn is null");
            return (Criteria) this;
        }

        public Criteria andSlotdWarnIsNotNull() {
            addCriterion("slotd_warn is not null");
            return (Criteria) this;
        }

        public Criteria andSlotdWarnEqualTo(Double value) {
            addCriterion("slotd_warn =", value, "slotdWarn");
            return (Criteria) this;
        }

        public Criteria andSlotdWarnNotEqualTo(Double value) {
            addCriterion("slotd_warn <>", value, "slotdWarn");
            return (Criteria) this;
        }

        public Criteria andSlotdWarnGreaterThan(Double value) {
            addCriterion("slotd_warn >", value, "slotdWarn");
            return (Criteria) this;
        }

        public Criteria andSlotdWarnGreaterThanOrEqualTo(Double value) {
            addCriterion("slotd_warn >=", value, "slotdWarn");
            return (Criteria) this;
        }

        public Criteria andSlotdWarnLessThan(Double value) {
            addCriterion("slotd_warn <", value, "slotdWarn");
            return (Criteria) this;
        }

        public Criteria andSlotdWarnLessThanOrEqualTo(Double value) {
            addCriterion("slotd_warn <=", value, "slotdWarn");
            return (Criteria) this;
        }

        public Criteria andSlotdWarnIn(List<Double> values) {
            addCriterion("slotd_warn in", values, "slotdWarn");
            return (Criteria) this;
        }

        public Criteria andSlotdWarnNotIn(List<Double> values) {
            addCriterion("slotd_warn not in", values, "slotdWarn");
            return (Criteria) this;
        }

        public Criteria andSlotdWarnBetween(Double value1, Double value2) {
            addCriterion("slotd_warn between", value1, value2, "slotdWarn");
            return (Criteria) this;
        }

        public Criteria andSlotdWarnNotBetween(Double value1, Double value2) {
            addCriterion("slotd_warn not between", value1, value2, "slotdWarn");
            return (Criteria) this;
        }

        public Criteria andSlotdAlarmIsNull() {
            addCriterion("slotd_alarm is null");
            return (Criteria) this;
        }

        public Criteria andSlotdAlarmIsNotNull() {
            addCriterion("slotd_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andSlotdAlarmEqualTo(Double value) {
            addCriterion("slotd_alarm =", value, "slotdAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotdAlarmNotEqualTo(Double value) {
            addCriterion("slotd_alarm <>", value, "slotdAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotdAlarmGreaterThan(Double value) {
            addCriterion("slotd_alarm >", value, "slotdAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotdAlarmGreaterThanOrEqualTo(Double value) {
            addCriterion("slotd_alarm >=", value, "slotdAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotdAlarmLessThan(Double value) {
            addCriterion("slotd_alarm <", value, "slotdAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotdAlarmLessThanOrEqualTo(Double value) {
            addCriterion("slotd_alarm <=", value, "slotdAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotdAlarmIn(List<Double> values) {
            addCriterion("slotd_alarm in", values, "slotdAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotdAlarmNotIn(List<Double> values) {
            addCriterion("slotd_alarm not in", values, "slotdAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotdAlarmBetween(Double value1, Double value2) {
            addCriterion("slotd_alarm between", value1, value2, "slotdAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotdAlarmNotBetween(Double value1, Double value2) {
            addCriterion("slotd_alarm not between", value1, value2, "slotdAlarm");
            return (Criteria) this;
        }

        public Criteria andExpWarnIsNull() {
            addCriterion("exp_warn is null");
            return (Criteria) this;
        }

        public Criteria andExpWarnIsNotNull() {
            addCriterion("exp_warn is not null");
            return (Criteria) this;
        }

        public Criteria andExpWarnEqualTo(Double value) {
            addCriterion("exp_warn =", value, "expWarn");
            return (Criteria) this;
        }

        public Criteria andExpWarnNotEqualTo(Double value) {
            addCriterion("exp_warn <>", value, "expWarn");
            return (Criteria) this;
        }

        public Criteria andExpWarnGreaterThan(Double value) {
            addCriterion("exp_warn >", value, "expWarn");
            return (Criteria) this;
        }

        public Criteria andExpWarnGreaterThanOrEqualTo(Double value) {
            addCriterion("exp_warn >=", value, "expWarn");
            return (Criteria) this;
        }

        public Criteria andExpWarnLessThan(Double value) {
            addCriterion("exp_warn <", value, "expWarn");
            return (Criteria) this;
        }

        public Criteria andExpWarnLessThanOrEqualTo(Double value) {
            addCriterion("exp_warn <=", value, "expWarn");
            return (Criteria) this;
        }

        public Criteria andExpWarnIn(List<Double> values) {
            addCriterion("exp_warn in", values, "expWarn");
            return (Criteria) this;
        }

        public Criteria andExpWarnNotIn(List<Double> values) {
            addCriterion("exp_warn not in", values, "expWarn");
            return (Criteria) this;
        }

        public Criteria andExpWarnBetween(Double value1, Double value2) {
            addCriterion("exp_warn between", value1, value2, "expWarn");
            return (Criteria) this;
        }

        public Criteria andExpWarnNotBetween(Double value1, Double value2) {
            addCriterion("exp_warn not between", value1, value2, "expWarn");
            return (Criteria) this;
        }

        public Criteria andExpAlarmIsNull() {
            addCriterion("exp_alarm is null");
            return (Criteria) this;
        }

        public Criteria andExpAlarmIsNotNull() {
            addCriterion("exp_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andExpAlarmEqualTo(Double value) {
            addCriterion("exp_alarm =", value, "expAlarm");
            return (Criteria) this;
        }

        public Criteria andExpAlarmNotEqualTo(Double value) {
            addCriterion("exp_alarm <>", value, "expAlarm");
            return (Criteria) this;
        }

        public Criteria andExpAlarmGreaterThan(Double value) {
            addCriterion("exp_alarm >", value, "expAlarm");
            return (Criteria) this;
        }

        public Criteria andExpAlarmGreaterThanOrEqualTo(Double value) {
            addCriterion("exp_alarm >=", value, "expAlarm");
            return (Criteria) this;
        }

        public Criteria andExpAlarmLessThan(Double value) {
            addCriterion("exp_alarm <", value, "expAlarm");
            return (Criteria) this;
        }

        public Criteria andExpAlarmLessThanOrEqualTo(Double value) {
            addCriterion("exp_alarm <=", value, "expAlarm");
            return (Criteria) this;
        }

        public Criteria andExpAlarmIn(List<Double> values) {
            addCriterion("exp_alarm in", values, "expAlarm");
            return (Criteria) this;
        }

        public Criteria andExpAlarmNotIn(List<Double> values) {
            addCriterion("exp_alarm not in", values, "expAlarm");
            return (Criteria) this;
        }

        public Criteria andExpAlarmBetween(Double value1, Double value2) {
            addCriterion("exp_alarm between", value1, value2, "expAlarm");
            return (Criteria) this;
        }

        public Criteria andExpAlarmNotBetween(Double value1, Double value2) {
            addCriterion("exp_alarm not between", value1, value2, "expAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotuWarmIsNull() {
            addCriterion("slotu_warm is null");
            return (Criteria) this;
        }

        public Criteria andSlotuWarmIsNotNull() {
            addCriterion("slotu_warm is not null");
            return (Criteria) this;
        }

        public Criteria andSlotuWarmEqualTo(Double value) {
            addCriterion("slotu_warm =", value, "slotuWarm");
            return (Criteria) this;
        }

        public Criteria andSlotuWarmNotEqualTo(Double value) {
            addCriterion("slotu_warm <>", value, "slotuWarm");
            return (Criteria) this;
        }

        public Criteria andSlotuWarmGreaterThan(Double value) {
            addCriterion("slotu_warm >", value, "slotuWarm");
            return (Criteria) this;
        }

        public Criteria andSlotuWarmGreaterThanOrEqualTo(Double value) {
            addCriterion("slotu_warm >=", value, "slotuWarm");
            return (Criteria) this;
        }

        public Criteria andSlotuWarmLessThan(Double value) {
            addCriterion("slotu_warm <", value, "slotuWarm");
            return (Criteria) this;
        }

        public Criteria andSlotuWarmLessThanOrEqualTo(Double value) {
            addCriterion("slotu_warm <=", value, "slotuWarm");
            return (Criteria) this;
        }

        public Criteria andSlotuWarmIn(List<Double> values) {
            addCriterion("slotu_warm in", values, "slotuWarm");
            return (Criteria) this;
        }

        public Criteria andSlotuWarmNotIn(List<Double> values) {
            addCriterion("slotu_warm not in", values, "slotuWarm");
            return (Criteria) this;
        }

        public Criteria andSlotuWarmBetween(Double value1, Double value2) {
            addCriterion("slotu_warm between", value1, value2, "slotuWarm");
            return (Criteria) this;
        }

        public Criteria andSlotuWarmNotBetween(Double value1, Double value2) {
            addCriterion("slotu_warm not between", value1, value2, "slotuWarm");
            return (Criteria) this;
        }

        public Criteria andSlotuAlarmIsNull() {
            addCriterion("slotu_alarm is null");
            return (Criteria) this;
        }

        public Criteria andSlotuAlarmIsNotNull() {
            addCriterion("slotu_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andSlotuAlarmEqualTo(Double value) {
            addCriterion("slotu_alarm =", value, "slotuAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotuAlarmNotEqualTo(Double value) {
            addCriterion("slotu_alarm <>", value, "slotuAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotuAlarmGreaterThan(Double value) {
            addCriterion("slotu_alarm >", value, "slotuAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotuAlarmGreaterThanOrEqualTo(Double value) {
            addCriterion("slotu_alarm >=", value, "slotuAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotuAlarmLessThan(Double value) {
            addCriterion("slotu_alarm <", value, "slotuAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotuAlarmLessThanOrEqualTo(Double value) {
            addCriterion("slotu_alarm <=", value, "slotuAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotuAlarmIn(List<Double> values) {
            addCriterion("slotu_alarm in", values, "slotuAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotuAlarmNotIn(List<Double> values) {
            addCriterion("slotu_alarm not in", values, "slotuAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotuAlarmBetween(Double value1, Double value2) {
            addCriterion("slotu_alarm between", value1, value2, "slotuAlarm");
            return (Criteria) this;
        }

        public Criteria andSlotuAlarmNotBetween(Double value1, Double value2) {
            addCriterion("slotu_alarm not between", value1, value2, "slotuAlarm");
            return (Criteria) this;
        }

        public Criteria andPilotWarmIsNull() {
            addCriterion("pilot_warm is null");
            return (Criteria) this;
        }

        public Criteria andPilotWarmIsNotNull() {
            addCriterion("pilot_warm is not null");
            return (Criteria) this;
        }

        public Criteria andPilotWarmEqualTo(Double value) {
            addCriterion("pilot_warm =", value, "pilotWarm");
            return (Criteria) this;
        }

        public Criteria andPilotWarmNotEqualTo(Double value) {
            addCriterion("pilot_warm <>", value, "pilotWarm");
            return (Criteria) this;
        }

        public Criteria andPilotWarmGreaterThan(Double value) {
            addCriterion("pilot_warm >", value, "pilotWarm");
            return (Criteria) this;
        }

        public Criteria andPilotWarmGreaterThanOrEqualTo(Double value) {
            addCriterion("pilot_warm >=", value, "pilotWarm");
            return (Criteria) this;
        }

        public Criteria andPilotWarmLessThan(Double value) {
            addCriterion("pilot_warm <", value, "pilotWarm");
            return (Criteria) this;
        }

        public Criteria andPilotWarmLessThanOrEqualTo(Double value) {
            addCriterion("pilot_warm <=", value, "pilotWarm");
            return (Criteria) this;
        }

        public Criteria andPilotWarmIn(List<Double> values) {
            addCriterion("pilot_warm in", values, "pilotWarm");
            return (Criteria) this;
        }

        public Criteria andPilotWarmNotIn(List<Double> values) {
            addCriterion("pilot_warm not in", values, "pilotWarm");
            return (Criteria) this;
        }

        public Criteria andPilotWarmBetween(Double value1, Double value2) {
            addCriterion("pilot_warm between", value1, value2, "pilotWarm");
            return (Criteria) this;
        }

        public Criteria andPilotWarmNotBetween(Double value1, Double value2) {
            addCriterion("pilot_warm not between", value1, value2, "pilotWarm");
            return (Criteria) this;
        }

        public Criteria andPilotAlarmIsNull() {
            addCriterion("pilot_alarm is null");
            return (Criteria) this;
        }

        public Criteria andPilotAlarmIsNotNull() {
            addCriterion("pilot_alarm is not null");
            return (Criteria) this;
        }

        public Criteria andPilotAlarmEqualTo(Double value) {
            addCriterion("pilot_alarm =", value, "pilotAlarm");
            return (Criteria) this;
        }

        public Criteria andPilotAlarmNotEqualTo(Double value) {
            addCriterion("pilot_alarm <>", value, "pilotAlarm");
            return (Criteria) this;
        }

        public Criteria andPilotAlarmGreaterThan(Double value) {
            addCriterion("pilot_alarm >", value, "pilotAlarm");
            return (Criteria) this;
        }

        public Criteria andPilotAlarmGreaterThanOrEqualTo(Double value) {
            addCriterion("pilot_alarm >=", value, "pilotAlarm");
            return (Criteria) this;
        }

        public Criteria andPilotAlarmLessThan(Double value) {
            addCriterion("pilot_alarm <", value, "pilotAlarm");
            return (Criteria) this;
        }

        public Criteria andPilotAlarmLessThanOrEqualTo(Double value) {
            addCriterion("pilot_alarm <=", value, "pilotAlarm");
            return (Criteria) this;
        }

        public Criteria andPilotAlarmIn(List<Double> values) {
            addCriterion("pilot_alarm in", values, "pilotAlarm");
            return (Criteria) this;
        }

        public Criteria andPilotAlarmNotIn(List<Double> values) {
            addCriterion("pilot_alarm not in", values, "pilotAlarm");
            return (Criteria) this;
        }

        public Criteria andPilotAlarmBetween(Double value1, Double value2) {
            addCriterion("pilot_alarm between", value1, value2, "pilotAlarm");
            return (Criteria) this;
        }

        public Criteria andPilotAlarmNotBetween(Double value1, Double value2) {
            addCriterion("pilot_alarm not between", value1, value2, "pilotAlarm");
            return (Criteria) this;
        }

        public Criteria andUdFlagIsNull() {
            addCriterion("ud_flag is null");
            return (Criteria) this;
        }

        public Criteria andUdFlagIsNotNull() {
            addCriterion("ud_flag is not null");
            return (Criteria) this;
        }

        public Criteria andUdFlagEqualTo(Integer value) {
            addCriterion("ud_flag =", value, "udFlag");
            return (Criteria) this;
        }

        public Criteria andUdFlagNotEqualTo(Integer value) {
            addCriterion("ud_flag <>", value, "udFlag");
            return (Criteria) this;
        }

        public Criteria andUdFlagGreaterThan(Integer value) {
            addCriterion("ud_flag >", value, "udFlag");
            return (Criteria) this;
        }

        public Criteria andUdFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("ud_flag >=", value, "udFlag");
            return (Criteria) this;
        }

        public Criteria andUdFlagLessThan(Integer value) {
            addCriterion("ud_flag <", value, "udFlag");
            return (Criteria) this;
        }

        public Criteria andUdFlagLessThanOrEqualTo(Integer value) {
            addCriterion("ud_flag <=", value, "udFlag");
            return (Criteria) this;
        }

        public Criteria andUdFlagIn(List<Integer> values) {
            addCriterion("ud_flag in", values, "udFlag");
            return (Criteria) this;
        }

        public Criteria andUdFlagNotIn(List<Integer> values) {
            addCriterion("ud_flag not in", values, "udFlag");
            return (Criteria) this;
        }

        public Criteria andUdFlagBetween(Integer value1, Integer value2) {
            addCriterion("ud_flag between", value1, value2, "udFlag");
            return (Criteria) this;
        }

        public Criteria andUdFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("ud_flag not between", value1, value2, "udFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}